package com.mlj.service;

import com.mlj.pojo.Admin;
import com.mlj.util.Result;

import java.util.List;

public interface AdminService {
     Result getAdminList(Integer page, Integer limit);
     Result deleteBatch(Integer[] ids);
     Result delAdminById(Integer id);
     Result addadmin(Admin admin);
     Result search(String timerange, String keyword, Integer page, Integer limit);
     List<Admin> getAdminName();
     Admin selectAdminById(Integer id);
     Result updateAdmin(Admin admin);
}
